package com.rzrk.centerlogserver;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;


/**
 * Hello world!
 *
 */
@SpringBootApplication
@ImportResource({"classpath:spring-main.xml","classpath:spring-mvc.xml"})
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
        SpringApplication.run(App.class, args);
//        new SpringApplicationBuilder()
//        .bannerMode(Banner.class)
//        .sources(SpringMainConfigure.class)
//		  .child(SpringMvcConfigure.class)
//        .run(args);
    }
}
